settingsenterprise.xml
- settingsenterprise.xml file contains parameters used by the viewer.
- Update the various parameters based on your installation and machine configuration.
- The file is loaded by ViewerEnterprise.swf on the page load event.
Depending on the sample and the web server, the file will contain different script names in each node.
Parameter |
Value |
conversionFileURL |
Web server script name that attends to the AJAX calls and performs the conversion. |
getTotalPagesURL |
Web server script name that returns the total page count of the document. |
getFastPagesURL |
Web server script name that returns the fast page count of the document. |
annotationsFilesURL |
Web server script name that lists the document markup data. |
annotationsOpenURL |
Web server script name that reads the annotation markup data. |
annotationsSaveURL |
Web server script name that saves the annotation markup data. |
LicenseURL |
Web server script name that contains the functions to process license requests. |
Example - Common settingsenterprise.xml file for IIS with ASP.NET |
Copy Code |
<settings>
<conversionFileURL>PCC/convert.ashx</conversionFileURL>
<getTotalPagesURL>PCC/gettotalpagecount.ashx</getTotalPagesURL>
<getFastPagesURL>PCC/getfastpagecount.ashx</getFastPagesURL>
<annotationsFilesURL>PCC/listmarkup.ashx</annotationsFilesURL>
<annotationsOpenURL>PCC/openmarkup.ashx</annotationsOpenURL>
<annotationsSaveURL>PCC/savemarkup.ashx</annotationsSaveURL>
<licenseURL>PCC/License.ashx</licenseURL>
</settings>
|
Example - Annotations Enabled settingsenterprise.xml file for Apache with PHP |
Copy Code |
<settings>
<conversionFileURL>getdocument.php</conversionFileURL>
<getTotalPagesURL>gettotalpagecount.php</getTotalPagesURL>
<getFastPagesURL>getfastpagecount.php</getFastPagesURL>
<annotationsFilesURL>listmarkup.php</annotationsFilesURL>
<annotationsOpenURL>openmarkup.php</annotationsOpenURL>
<annotationsSaveURL>savemarkup.php</annotationsSaveURL>
<licenseURL>license.php</licenseURL>
</settings>
|